package com.xiaomi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName Order
 * @Description TODO
 * @Author WL
 * @Date 2021/11/28 20:54
 * @Version 1.0
 **/
@Data
public class Order {
    private Integer id;
    private String name;
    private String iamg;
    private String guige;
    private Integer quantity;
    private BigDecimal price;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date purchase;
    private String address;
    private Integer sku_id;
    private Integer did;
}
